Fix g test

Basic form of test working. Currently requires for user to be signed in.