added example using nose library