Add scaladoc
Choose a better name for test cases