added test case for simplecycle and cyclebasis