Added setup methods for testing

Added methods for testing instance creation , and checking if the
methods are added on the Calculator controller prototype