Create registration_controller_test.js

Try to figure out how this file runs and opperates and also if possible attempt to make it conform to good style!