Update test related files.

Add id to buttons and add jasmine test methods.