Port API to tasty framework

Conflicts:
	tests/TestAPI.hs
Merge pull request #12 from qnikst/test-api-to-tasty

Port API to tasty framework