Restructure tests for Android studio support

- Deleted library_test
- Moved all test cases to library as per gradle specs