added tests for fixed and anydim problems, also exported more funcs for testing