Added test file.
Handled method not allowed.
Added test on empty username.
Handled empty username and room_id parameters.
Added test on empty room id.
Added test on username and room_id not set as parameter.