[ps] fix test: stub out #is_valid_activity, will test it separately
[ps] remove white spaces
[ps/j] fixes all frontend spec