Fix homepage and invite tests

Fix #39