Added unit tests for valid pass attacks