Add tests for disallowed methods

Signed-off-by: Ian Macalinao <me@ian.pw>