Added tests for abstract method declaration