This adds onto the existing unittests that exists for the frontend, except keeps them generic to test the interfaces for frontends and backends for any module.