fixed express test to use express object instead of server