small refactoring to Class#fancy_instance_methods

also add missing tests for Class#ruby_instance_methods &
Class#fancy_instance_methods