Add Hyperloop.method unit tests